package leetcode.D700.T652;

import util.TreeNode;
import util.TreeUtil;

import java.util.List;

/**
 * @File Info: leetcode -- <M652>
 * @Author: 18362
 * @Create: 2022-03-15 17:16:02 星期二
 */
public class M652 {
    public static void main(String[] args) {
        TreeNode root = TreeUtil.deserialize("[1,2,3,4,null,2,4,null,null,4]");
        List<TreeNode> results = new Solution().findDuplicateSubtrees(root);
        for (TreeNode result : results) {
            TreeUtil.printLevel(result);
        }
    }
}
